<template>
	<view>
		<view class="without"></view>
		<view class="head">选单大厅</view>
		
		<view class="centre">
			<view>附件13单</view>
			<view>综合排序&ensp;▼</image></view>
		</view>
		
		<view class="list">
			<view class="one">
				<view class="time">
					<view>出发时间</view>
					<view class="small">现在出发</view>
				</view>
				<view class="distance">
					<view>距您</view>
					<view class="small">1.35km</view>
				</view>
				<view class="price">
					<view>一口价<image src="../../static/image/renminbi.svg"></image></view>
					<view class="small">48.3元</view>
				</view>
			</view>
			
			<view class="two">
				<view class="origin"><image src="../../static/image/lvdian.svg"></image>曲靖师范学院南门</view>
				<view class="destin"><image src="../../static/image/hongdian.svg"></image>万达广场</view>
				<view class="length"><image src="../../static/image/weizhi.svg"></image>全程32.36km</view>
			</view>
			<button @click="topick">抢单</button>
		</view>
	</view>
</template>

<script>
	export default {
		name:"my-component",
		methods:{
			topick(){
				uni.navigateTo({
					url:'/pages/works/pick'
				})
			}
		}
	}
</script>

<style>
	page{
	    background-color: #F6F6F9;
	    }
	.without{
		height: 65rpx;
		width: 100%;
	}
	.head{
		display: flex;
		height: 100rpx;
		background-color: rgba(14,84,155,0.9);
		color: white;
		justify-content: center;
		align-items: center;
	}
	.centre{
		display: flex;
		justify-content: space-between;
		margin-top: 30rpx;
		margin-left: 20rpx;
		margin-right: 20rpx;
		font-size: 40rpx;
	}	
	.two image{
		width: 25rpx;
		height: 25rpx;
	}
	.list{
		display: flex;
		flex-direction: column;
		font-size: 30rpx;
		color: #919192;
		width: 90%;
		height: 370rpx;
		margin-left: 35rpx;
		margin-top: 40rpx;
		background-color: white;
		border-radius: 15rpx;
		box-shadow:0rpx 0rpx 10rpx 1rpx gray;
	}
	.list button{
		font-size: 30rpx;
		color: white;
		background: linear-gradient(to right,#FD5F10,#FD8B3B);
		width: 120rpx;
		height: 70rpx;
		margin-right: 50rpx;
	}
	.one{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-top: 20rpx;
		margin-left: 25rpx;
	}
	.small{
		margin-top: 5rpx;
		font-size: 43rpx;
		color: #242425;
	}
	.two{
		width: 350rpx;
		margin-top: 25rpx;
		margin-left: 30rpx;
		font-size: 34rpx;
	}
	.price image{
		width: 25rpx;
		height: 25rpx;
	}
</style>